package icooper.action;

import android.app.Activity;
import icooper.structs.PersonInfo;
import icooper.structs.WeiboItem;

public interface WeiboAction
{
	
	public void setMainFrame(Activity main);
	
	public void setPIN(String pin);
	
	public ErrorCode login(int step);
	
	/* send status info */
	public ErrorCode sendMsg(String msg);
	
	/* send status info and a image*/
	public ErrorCode sendMsgWithFile(String msg , java.io.File file);
	
	/* get Top public message */
	public java.util.List<WeiboItem> getPublicMsg(int n);
	
	/* get Friends message */
	public java.util.List<WeiboItem> getFollowersMsg();

	/* get Friend message */
	public java.util.List<WeiboItem> getUserMsg(String uid);
	
	public PersonInfo getUserInfo(String uid);
	

}
